-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
document fixed-table shortcode, update column-list shortcode #918
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need more info on how to use this shortcode.
@@ -716,6 +722,44 @@ Headings are offset by one level, so if the source content contains an `h1`, the | |||
{{</* docs/shared lookup="shared-page.md" source="enterprise-metrics" version="<GEM_VERSION>" leveloffset="+1" */>}} | |||
``` | |||
|
|||
## Fixed-table | |||
|
|||
The `fixed-table` shortcode allows the column contents to be wrapped to a new line at any character. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still more questions. Presumably you can specify the width of the table or column to define when the wrapping is supposed to begin?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specifying the fixed (character?) width of a column would be super useful... and would resolve other issues I've trying to work around.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this time we do not have a way to specify the width of a column as we would have to consider how it works with desktop, mobile, etc. breakpoints.
I've clarified this line in c2fadb5.
Signed-off-by: Jack Baldry <[email protected]>
Signed-off-by: Jack Baldry <[email protected]>
Thanks for the assist @jdbaldry! |
Will merge once we get a new docs-base image published. |
for https://github.com/grafana/website/issues/22852
for https://github.com/grafana/website/issues/23016
upstream of https://github.com/grafana/website/pull/23049